package com.taoym.voucher.admin.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @coder taoym
 * @datetime 2021/7/1 10:21
 * @desc
 */
@Data
public class XcxGetUserInfosVO implements Serializable {
    @ApiModelProperty(example = "总记录数")
    private Integer count;
    @ApiModelProperty(example = "记录")
    private List<GetUserInfo> getUserInfos;

    @Data
    public static class GetUserInfo implements Serializable {
        @ApiModelProperty(example = "主键")
        private Integer id;
        @ApiModelProperty(example = "用户uid")
        private String uid;
		@ApiModelProperty(example = "昵称")
        private String nickName;
        @ApiModelProperty(example = "创建日期")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private LocalDateTime createTime;
        @ApiModelProperty(example = "用户的支付宝")
        private String zfb;
        @ApiModelProperty(example = "用户支付宝绑定的姓名")
        private String zfbName;
        @ApiModelProperty(example = "用户邮箱")
        private String email;
        @ApiModelProperty(example = "邀请人uid")
        private String chiefUid;
    }
}
